A gunman opened fire inside a rural Texas church on Sunday, killing at least 26 people and injuring at least another 10, officials said.